﻿<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="MyRecipeBook.V2.UI.Pages.PageOptions"
    Title="PageOptions" mc:Ignorable="d" d:DesignWidth="496" d:DesignHeight="408">
	<Page.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="/MyRecipeBook.V2.UI;Component/Themes/DefaultDictionary.xaml"/>
			</ResourceDictionary.MergedDictionaries>
			
		</ResourceDictionary>
	</Page.Resources>
    <Border>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
            </Grid.RowDefinitions>
            <TextBlock Text="Options" Foreground="{DynamicResource page_heading_foreground}" FontSize="{DynamicResource page_heading_fontsize}" Grid.Row="0" Margin="{DynamicResource page_heading_margin}" FontFamily="{DynamicResource application_fontfamily}" FontWeight="{DynamicResource page_heading_fontweight}" HorizontalAlignment="{DynamicResource page_heading_halign}" VerticalAlignment="{DynamicResource page_heading_valign}" />

            <Border Grid.Row="1" Margin="{DynamicResource page_contents_margin}" Background="{DynamicResource page_contents_background}">
                <Grid Margin="0,5">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    
                    <Grid Grid.Row="0" Margin="5,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        
                        <TextBlock Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Text="Look and Feel" FontSize="{DynamicResource page_sub_heading_size}" Foreground="{DynamicResource page_sub_heading_brush}" FontFamily="{DynamicResource application_fontfamily}" />
                        
                        <TextBlock Grid.Column="0" Grid.Row="1" Text="Style" Foreground="{DynamicResource page_item_brush}" FontSize="{DynamicResource page_item_size}" VerticalAlignment="{DynamicResource page_options_type_valign}" HorizontalAlignment="{DynamicResource page_options_type_halign}" Margin="{DynamicResource page_options_item_margin}" FontFamily="{DynamicResource application_fontfamily}" />
                        
                        <ComboBox Grid.Column="1" Grid.Row="1" Width="Auto" IsTextSearchEnabled="False" HorizontalAlignment="{DynamicResource page_options_value_halign}" Margin="{DynamicResource page_options_value_margin}" VerticalAlignment="{DynamicResource page_options_value_valign}" Padding="{DynamicResource page_options_value_padding}" FontFamily="{DynamicResource application_fontfamily}">
                        	<ComboBoxItem IsSelected="True" Content="Default"/>
                        	<ComboBoxItem Content="Blue"/>
                        	<ComboBoxItem Content="Pink"/>
                            <ComboBoxItem>White</ComboBoxItem>
                            <ComboBoxItem Content="Custom"/>
                        </ComboBox>
                    </Grid>
					
                    <Grid Grid.Row="1" Margin="5,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        
                        <TextBlock Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Text="General" FontSize="{DynamicResource page_sub_heading_size}" Foreground="{DynamicResource page_sub_heading_brush}" FontFamily="{DynamicResource application_fontfamily}" />
                        
                        <TextBlock Grid.Column="0" Grid.Row="1" Text="Measurements" Margin="{DynamicResource page_options_item_margin}" Foreground="{DynamicResource page_item_brush}" FontSize="{DynamicResource page_item_size}" VerticalAlignment="{DynamicResource page_options_type_valign}" HorizontalAlignment="{DynamicResource page_options_type_halign}" FontFamily="{DynamicResource application_fontfamily}" />
                        
                        <ComboBox Grid.Column="1" Grid.Row="1" Width="Auto" IsTextSearchEnabled="False" HorizontalAlignment="{DynamicResource page_options_value_halign}" Margin="{DynamicResource page_options_value_margin}" VerticalAlignment="{DynamicResource page_options_value_valign}" FontFamily="{DynamicResource application_fontfamily}">
                        	<ComboBoxItem IsSelected="True" Content="Imperial (US)"/>
                        	<ComboBoxItem Content="Metric"/>
                        </ComboBox>
                    </Grid>
					
                    <Grid Grid.Row="2" Margin="5,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        
                        <TextBlock Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Text="Advanced" FontSize="{DynamicResource page_sub_heading_size}" Foreground="{DynamicResource page_sub_heading_brush}" FontFamily="{DynamicResource application_fontfamily}" />
                        
                        <TextBlock Grid.Column="0" Grid.Row="1" Text="Debug" Margin="{DynamicResource page_options_item_margin}" Foreground="{DynamicResource page_item_brush}" FontSize="{DynamicResource page_item_size}" VerticalAlignment="{DynamicResource page_options_type_valign}" HorizontalAlignment="{DynamicResource page_options_type_halign}" FontFamily="{DynamicResource application_fontfamily}" />                        
						<CheckBox Grid.Column="1" Grid.Row="1" HorizontalAlignment="{DynamicResource page_options_value_halign}" VerticalAlignment="{DynamicResource page_options_value_valign}" Margin="{DynamicResource page_options_value_margin}" Name="checkBoxDebug" FontFamily="{DynamicResource application_fontfamily}" />
                    </Grid>

                    <Grid Grid.Row="3" Margin="5,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>

                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        
                        <Grid Grid.Row="0" Grid.Column="1" Margin="5,0">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition />
                            </Grid.RowDefinitions>

                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            
                            <Button x:Name="buttonSave" Content="Save" Grid.Row="0" Grid.Column="0" Margin="5" Padding="20,2" Click="buttonSave_Click" FontFamily="{DynamicResource application_fontfamily}" />
                            <Button x:Name="buttonCancel" Content="Cancel" Grid.Row="0" Grid.Column="1" Margin="5" Padding="20,2" Click="buttonCancel_Click" FontFamily="{DynamicResource application_fontfamily}" />
                        </Grid>
                    </Grid>
                </Grid>
            </Border>
        </Grid>
    </Border>
</Page>
